<template>
	<view class="">
		<u-popup v-model="telephoneShow" mode="center" width="516rpx" height="360rpx" border-radius="16" :mask-close-able="false">
			<view class="telephone_box">
				<view class="title">
					删除人脸
				</view>
				<view class="main">
					<text>是否确认删除人脸</text>
				</view>
				<view class="foot_box">
					<view class="btn1" @click="cancel">
						取消
					</view>
					<view class="btn2" @click="sure">
						确认删除
					</view>
				</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default {
		props: {
			telephoneShow:{
				type: Boolean,
				default: false,
				required: true
			}
		},	
		data(){
			return{
				
			}
		},
		methods:{
			cancel(){
				this.$emit('cancel', false)
			},
			sure(){
				this.$emit('sure')
			}
		}
	}
</script>

<style lang="scss" scoped>
	.telephone_box{
		width: 516rpx;
		height: 360rpx;
		display: flex;
		flex-direction: column;
		align-items: center;
		overflow: hidden;
		.title{
			width: 100%;
			height: 92rpx;
			background: #f6f6f6;
			border-radius: 16rpx 16rpx 0rpx 0rpx;
			font-size: 32rpx;
			font-family: PingFang SC, PingFang SC-Bold;
			font-weight: 700;
			color: #000000;
			display: flex;
			align-items: center;
			justify-content: center;
		}
		.main{
			flex: 1;
			display: flex;
			flex-direction: column;
			padding-top: 40rpx;
			font-size: 28rpx;
			font-family: PingFang SC, PingFang SC-Medium;
			font-weight: 500;
			text-align: center;
			color: #333333;
		}
		.foot_box{
			display: flex;
			flex-direction: row;
			justify-content: space-around;
			width: 100%;
			padding: 0 48rpx 32rpx;
			.btn1{
				width: 198rpx;
				height: 68rpx;
				background: #f6f6f6;
				border-radius: 16rpx;
				font-size: 28rpx;
				font-family: PingFang SC, PingFang SC-Medium;
				font-weight: 500;
				color: #000000;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			
			.btn2{
				width: 198rpx;
				height: 68rpx;
				background: #F37364;
				border-radius: 16rpx;
				font-size: 28rpx;
				font-family: PingFang SC, PingFang SC-Medium;
				font-weight: 500;
				color: #ffffff;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
	}
</style>